package com.init.bootframe.business.dao;

import com.init.bootframe.business.vo.SwiperVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ISwiperDao {

    /**
     * 轮播图list查询
     * @param swiperVO
     * @return
     */
    List<SwiperVO> findSwiperList(SwiperVO swiperVO);

    /**
     * 轮播图总数查询
     * @param swiperVO
     * @return
     */
    int findSwiperCount(SwiperVO swiperVO);

    /**
     * 轮播图详情查询
     * @param swiperVO
     * @return
     */
    SwiperVO findSwiper(SwiperVO swiperVO);

    /**
     * 轮播图更新
     * @param swiperVO
     */
    void updateSwiper(SwiperVO swiperVO);

}